Specify the correct parameter for QueueClient.SendAsync() if text is of type string.
QueueClient.SendAsync()
text
string
No parameter
new Message(Encoding.UTF8.GetBytes(text))
new Message(text)
Encoding.UTF8.GetBytes(text)
Message supports byte[] only.
Message
byte[]